.rpv-core__text-layer {
  position: absolute;
  top: 0;
  // Absolute position
  left: 0;
  width: 100%;

  // Take the full size
  height: 100%;

  // Misc
  line-height: 1;

  // Improve the text selection
  opacity: 0.2;
}

.rpv-core__text-layer ::selection {
  color: var(--rpv-core__text-layer-text--selection-color);
  background-color: var(
    --rpv-core__text-layer-text--selection-background-color
  );
}

.rpv-core__text-layer-text {
  position: absolute;
  color: transparent;
  white-space: pre;
  transform-origin: 0% 0%;
  cursor: text;
}
